PUT
/
1
/
indexes
/
{indexName}
/
{objectID}
curl --request PUT \
  --url https://{appId}.algolia.net/1/indexes/{indexName}/{objectID} \
  --header 'Content-Type: application/json' \
  --header 'x-algolia-api-key: <api-key>' \
  --header 'x-algolia-application-id: <api-key>' \
  --data '{}'
{
  "taskID": 1514562690001,
  "updatedAt": "2023-07-04T12:49:15Z",
  "objectID": "test-record-123"
}

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.

Path Parameters

indexName
string
required

Name of the index on which to perform the operation.

Example:

"ALGOLIA_INDEX_NAME"

objectID
string
required

Unique record identifier.

Example:

"test-record-123"

Body

application/json · object

The record. A schemaless object with attributes that are useful in the context of search and discovery.

The body is of type object.

Response

200
application/json

OK

Response, taskID, unique object identifier, and an update timestamp.